﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MalRec.Base.Inteface
{
    public interface IMalRecModule
    {
        /// <summary>
        /// Gets and sets the name of the widget
        /// </summary>
        string WidgetName { get; set; }

        /// <summary>
        /// Gets the description of the widget
        /// </summary>
        string WidgetDescription { get; set; }

        /// <summary>
        /// gets and sets info if the widget is currently installed
        /// </summary>
        bool IsWidgetInstalled { get; set; }

        /// <summary>
        /// Gets the small widget content
        /// </summary>
        IView SmallWidgetContent { get; }

        /// <summary>
        /// Gets the large widget content
        /// </summary>
        IView LargeWidgetContent { get; }

        /// <summary>
        /// Gets the normal widget content
        /// </summary>
        IView NormalWidgetContent { get; }

        /// <summary>
        /// Shows the module
        /// </summary>
        object ShowModule(object parameter);

        /// <summary>
        /// Closes the module
        /// </summary>
        void CloseModule();
    }
}